package cn.hss.object.customer;

/**客户类
 * @author 作者：HeShaoShuai
 * @Email 邮箱：2569819541@qq.com
 * @Date 日期：2023/4/25 17:17
 * @Package 包名：cn.hss.object.customer
 * @Project 项目名：JavaSE
 * @Version 1.0
 */
public class Customer {
	private String firstName;//名字
	private String lastName;//姓
	//将一个对象做为属性注入到当前对象中
	private Account account;//账号

	@Override
	public String toString() {
		return "Customer{" +
				"firstName='" + firstName + '\'' +
				", lastName='" + lastName + '\'' +
				", account=" + account +
				'}';
	}
	public Customer(String firstName, String lastName) {
		this.firstName = firstName;
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(final String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(final String lastName) {
		this.lastName = lastName;
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(final Account account) {
		this.account = account;
	}
}
